

#ifndef _SHELL_RESPLAYERINFO_MESSAGE_H_
#define _SHELL_RESPLAYERINFO_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "PlayerAttbute.h"
//#include <vector>
//#include "PlayerInfo.h"
using namespace std;

class ResPlayerInfoMessage : public Message
{
	public:
	ResPlayerInfoMessage();
	~ResPlayerInfoMessage();
	void reset();
	ResPlayerInfoMessage* clone();
	static const int _ID;
	//角色信息
	PlayerInfo* playerInfo;
	//人物属性
	vector<PlayerAttbute*> playerAttbute;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
